package lab02.test25;
import java.util.Scanner;
public class Test25 {
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入两个数");
        int num1=sc.nextInt();
        int num2=sc.nextInt();
        try {
            System.out.println(num1/num2);
        }
        catch (ArithmeticException e){
            System.out.println(e);
        }
    }
}
